package com.shop.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.shop.dao.CommentDao;
import com.shop.domain.Comment;
import com.shop.service.CommentService;
import com.shop.util.page.Filter;
import com.shop.util.page.MySort;
import com.shop.util.page.Page;
import com.shop.util.page.Pageable;

/**
 * 
 * @author wenjuanhenxing
 * @version V1.0 CommentServiceImpl.java 2016-4-25 下午9:54:55
 */
@Service("commentServiceImpl")
public class CommentServiceImpl implements CommentService {

	@Resource(name = "commentDaoImpl")
	private CommentDao commentDao;

	@Override
	public Comment find(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Comment> findAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Comment> findList(Integer count, List<Filter> filters,
			List<MySort> orders) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Comment> findList(Integer first, Integer count,
			List<Filter> filters, List<MySort> orders) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<Comment> findPage(Pageable pageable) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public long count() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public long count(Filter... filters) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public boolean exists(Long id) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean exists(Filter... filters) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public void save(Comment entity) {
		commentDao.addComment(entity);
	}

	@Override
	public Comment update(Comment entity) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Comment update(Comment entity, String... ignoreProperties) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void delete(Long id) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(Long... ids) {
		// TODO Auto-generated method stub

	}

	@Override
	public void delete(Comment entity) {
		// TODO Auto-generated method stub

	}

}
